package com.jingyanzi.privilege.service;

import java.util.List;

import com.jingyanzi.privilege.domain.DataAccessDO;
import com.jingyanzi.privilege.domain.result.ResultDO;


public interface IDataAccessService {

	public ResultDO modifi(DataAccessDO domain);
		
	public ResultDO getDataAccessForUserId(DataAccessDO dataAccessDO);
	
	//public void initUserDataAccess(Integer uid);
	
	public List<Integer> getDataAccess(DataAccessDO dataAccessDO);
	
	//public Runnable createDataAccessThread();
	
	public ResultDO getDataAccessForMenuId(Integer menuId);

	public ResultDO getDataAccessForRoleId(Integer roleId);
	
}
